import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'venueId',
    type: 'select',
    label: translate('venue'),
    labelCode: 'name',
    valueCode: 'id',
    options: []
  },
  {
    filed: 'memberInfo',
    type: 'input',
    label: translate('memberInfo'),
    placeholder: translate('hy3')
  },
  {
    filed: 'time',
    type: 'daterange',
    clearable: false,
    label: translate('rq')
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: translate('payMethod'),
    labelCode: 'name',
    options: []
  },
  {
    filed: 'orderId',
    type: 'input',
    label: translate('orderId')
  },
  {
    filed: 'channelType',
    type: 'select',
    label: translate('orderSource'),
    labelCode: 'name',
    options: []
  },
  {
    filed: 'mealsName',
    type: 'input',
    label: translate('tcname')
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
